<!DOCTYPE html>
<html lang="en"xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<p th:text="${msg}"></p>
    <form th:action="@{/login}">
        <input type="text" name="username" placeholder="username"/>
        <input type="tetx" name="password" placeholder="password"/>
        <input type="submit" value="提交">
    </form>
</body>
</html>